package com.ytf.core.exception;

import lombok.experimental.UtilityClass;

/**
 * @className: BusinessExceptionFactory
 * @author: YTF
 * @date: 2025/4/10 16:38
 * @version: 1.0
 * @description: 
 */
@UtilityClass
public class BusinessExceptionFactory {

    public CodeMessage USER_FOUND = new CodeMessage(12, "12");
    public CodeMessage USER_NULL = new CodeMessage(12, "12");

    public BusinessException userNotFound(String userId) {
        return USER_FOUND.getBusinessException();
    }
}
